<template>
	<view class="home">
		<customerHome v-if="isLoginType==2"/>
		<!-- <JsHome  v-if="isLoginType==1"></JsHome> -->
		<JsHome v-if="isLoginType==1"></JsHome>
		<FootTabbar></FootTabbar>
	</view>
</template>

<script>
	import customerHome from './component/customerHome.vue'
	import JsHome from './component/JsHome.vue'
	export default {
			components: {
				customerHome,
				JsHome
			},
			data() {
				return {
					isLoginType:2,// 1计师2客户
				}
			},
			onLoad(option) {
			},
			onShow() {
				uni.hideTabBar();
				this.isLoginType=this.$store.state.isLoginType
			},
			methods: {
			}
		}

</script>

<style scoped lang="less">

</style>